import 'package:flutter/material.dart';

class WechatAccountPage extends StatefulWidget {
  const WechatAccountPage({Key key}) : super(key: key);

  @override
  State<StatefulWidget> createState() => new _WechatAccountPageState();
}

class _WechatAccountPageState extends State<WechatAccountPage>
    with AutomaticKeepAliveClientMixin {
  @override
  bool get wantKeepAlive => true;

  @override
  Widget build(BuildContext context) {
    super.build(context);
    return Scaffold(
      appBar: AppBar(
        //导航栏
        title: Text("用户中心页面"),
        actions: [
          IconButton(
              icon: Icon(Icons.share),
              onPressed: () {
                print("click share");
              }),
          IconButton(
              icon: Icon(Icons.add),
              onPressed: () {
                print("click add");
              }),
        ],
      ),
      body: Center(
        child: Text("用户中心"),
      ),
    );
  }
}
